package com.cityp.mapper;

import com.cityp.bean.Manager;
import com.cityp.bean.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface ManagerMapper {
    List<User> viewUser();
    List<Manager> viewAll();
    int AddOne(@Param("manager") Manager manager);
    int changeState(@Param("id")String id,@Param("para")String para);
    int deleteOne(@Param("id")String id);
}
